HealthCloudGA__ValidateCarePlanTaskAssociationForSingle

Print
Validation rule Details
Name HealthCloudGA__ValidateCarePlanTaskAssociationForSingle
Label HealthCloudGA__ValidateCarePlanTaskAssociationForSingle
Object Visit
Active Yes
Formula
OR( AND( ISBLANK( HealthCloudGA__CarePlanTemplate__c ), NOT(ISBLANK( HealthCloudGA__CarePlanTemplateGoal__c )), NOT(ISBLANK(  HealthCloudGA__CarePlanTemplateProblem__c )) ),
                                   AND( NOT(ISBLANK( HealthCloudGA__CarePlanTemplate__c )), ISBLANK( HealthCloudGA__CarePlanTemplateGoal__c ), NOT(ISBLANK(  HealthCloudGA__CarePlanTemplateProblem__c )) ),
                                   AND( NOT(ISBLANK( HealthCloudGA__CarePlanTemplate__c )), NOT(ISBLANK( HealthCloudGA__CarePlanTemplateGoal__c )), ISBLANK(  HealthCloudGA__CarePlanTemplateProblem__c ) ),
                                   AND( NOT(ISBLANK( HealthCloudGA__CarePlanTemplate__c )), NOT(ISBLANK( HealthCloudGA__CarePlanTemplateGoal__c )), NOT(ISBLANK(  HealthCloudGA__CarePlanTemplateProblem__c )) ) )
Error message Associate the task with only one record.
Error location
Description Associate the task with only one record